
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Anonym.Data.Entities
{
    /// <summary>
    /// 客户商品关联
    /// </summary>
    public class P_Customer_Commodity
    {
        
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long ID { get; set; } = 0;

        /// <summary>
        /// 公司id
        /// </summary>
        public long CompanyId { get; set; } = 0;

        /// <summary>
        /// 商品id
        /// </summary>
        public long CommodityId { get; set; } = 0;

        /// <summary>
        /// 客户id
        /// </summary>
        public long CustomerId { get; set; } = 0;

        /// <summary>
        /// 商品金额(分)
        /// </summary>
        public long CommodityAmount { get; set; } = 0;

        /// <summary>
        /// 删除标识；0：未删除  1：已删除
        /// </summary>
        public long Deleted { get; set; } = 0;

        /// <summary>
        /// 创建人
        /// </summary>
        public long CreatorUserId { get; set; } = 0;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; } = new DateTime(1900,1,1);

        /// <summary>
        /// 最后一次修改人
        /// </summary>
        public long LastModifierUserId { get; set; } = 0;

        /// <summary>
        /// 最后一次修改时间
        /// </summary>
        public DateTime LastModificationTime { get; set; } = new DateTime(1900,1,1);

    }
}

